<script setup lang="ts">
import { onMounted } from "vue";
import FooterNav from "@/views/hu/FooterNav.vue";
import TopNav from "../hu/TopNav.vue";
import router from "@/router";

onMounted(() => {
  router.push("/FrontMain");
});
</script>
<template>
  <div>
    <!-- 头 -->
    <div><TopNav></TopNav></div>
    <br />
    <div id="mainclass">
      <RouterView></RouterView>
    </div>

    <!-- 尾 -->
    <FooterNav></FooterNav>
  </div>
</template>
<style scoped>
.mainclass {
  width: 100vw;
}
</style>
